package com.user.domain;

import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

/**
 * @TableName coupon
 */
@TableName(value = "coupon")
@Data
public class Coupon implements Serializable {
    private Integer id;
    private Integer rId;
    private String title;
    private String description;
    private BigDecimal discount;
    private BigDecimal minimumAmount;
    private Date startTime;

    private Date endTime;

    private Date createdAt;

    private Date updatedAt;

    private static final long serialVersionUID = 1L;
}